Dashboards

library(flexdashboard)

I’ll approach this from the perspective of making a small display for a phone. That means a display less than 768 pixels in height.

In Chrome, CMD-OPT-I brings up the console.

Value boxes

spam <- 17
valueBox(
  spam, icon = "fa-trash",
  color = ifelse(spam > 10, "warning", "primary")
)
17

Flexdashboard